<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<html:html>
 <head>
    <title><bean:message key="app.title" /></title>
   <link rel="stylesheet" type="text/css" href="style.css" />
   <script>
   	function signup(){
   		location.href="/signup.do";
   		/* alert("signup");
   		var form = document.forms[0];
   		form.action	="/hrmsWeb.war/signup.do";
   		form.submit(); */
   	}
   </script>
 </head> 
   
<body>
  <center>
  <html:form  action="login">
  <table bgcolor="orange" width="90%" height="20%">
 <jsp:include page="header.jsp"></jsp:include>
 </table>
  <table bgcolor="white" width="90%" height="65%" border="0">
   <tr>
   <td align="center">
	<table bgcolor="blue" border="1" bordercolor="black">
	<tr>
   	<td><bean:message key="login.un" /></td>
   	<td><html:text property="userName" /></td>
  	</tr>
  	<tr>
   	<td><bean:message key="login.pw" /></td>
   	<td><html:password property="password" /></td>
  	</tr>   
	<tr>
   	<td></td>
	<td align="center">
    	<html:submit styleClass="css3button" value="signin" />
    	<html:button styleClass="css3button" value="signup" property="signupbtn" onclick="location.href='signup.do?cmd=open'"/>
   	</td>
   	</tr>
	</table>
   </td>
   </tr>
  </table>
   <table bgcolor="green" width="90%" height="15%" cellpadding="10">
   <tr>
   <td align="right">
    <h5><bean:message key="app.designedby" /></h5>
   </td>
   </tr>
  </table>
  </html:form>
  
</center>  
</body>
</html:html>